package com.punai.externalccb.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.punai.common.utils.SubBigDecimalTypeHandler;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * externalccb对象 eco_cbsummary
 *
 * @author zxw
 * @date 2023-04-10
 */
public class EcoCbsummary extends BaseEntity {

    /**
     * 主键ID
     */
    private String id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer pid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer oid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String code;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ordcode;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String xh;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String unit;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(typeHandler = SubBigDecimalTypeHandler.class)
    private BigDecimal ystotal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal srzb;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(typeHandler = SubBigDecimalTypeHandler.class)
    private BigDecimal targettotal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(typeHandler = SubBigDecimalTypeHandler.class)
    private BigDecimal targetnottotal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal cbzbnottax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(typeHandler = SubBigDecimalTypeHandler.class)
    private BigDecimal jyenottax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal jylnottax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer bidnodeid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String proId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stagetype;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(typeHandler = SubBigDecimalTypeHandler.class)
    private BigDecimal srpmzj;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(typeHandler = SubBigDecimalTypeHandler.class)
    private BigDecimal targetcbpmzj;

    public EcoCbsummary() {
    }

    public EcoCbsummary(Integer bidnodeid, String proId, String stagetype,Integer pid) {
        this.bidnodeid = bidnodeid;
        this.proId = proId;
        this.stagetype = stagetype;
        this.pid = pid;
    }

    public EcoCbsummary(Integer bidnodeid, String proId, String stagetype,Integer pid,String name) {
        this.bidnodeid = bidnodeid;
        this.proId = proId;
        this.stagetype = stagetype;
        this.pid = pid;
        this.name = name;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getOid() {
        return oid;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setOrdcode(String ordcode) {
        this.ordcode = ordcode;
    }

    public String getOrdcode() {
        return ordcode;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getXh() {
        return xh;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setYstotal(BigDecimal ystotal) {
        this.ystotal = ystotal;
    }

    public BigDecimal getYstotal() {
        return ystotal;
    }

    public void setSrzb(BigDecimal srzb) {
        this.srzb = srzb;
    }

    public BigDecimal getSrzb() {
        return srzb;
    }

    public void setTargettotal(BigDecimal targettotal) {
        this.targettotal = targettotal;
    }

    public BigDecimal getTargettotal() {
        return targettotal;
    }

    public void setTargetnottotal(BigDecimal targetnottotal) {
        this.targetnottotal = targetnottotal;
    }

    public BigDecimal getTargetnottotal() {
        return targetnottotal;
    }

    public void setCbzbnottax(BigDecimal cbzbnottax) {
        this.cbzbnottax = cbzbnottax;
    }

    public BigDecimal getCbzbnottax() {
        return cbzbnottax;
    }

    public void setJyenottax(BigDecimal jyenottax) {
        this.jyenottax = jyenottax;
    }

    public BigDecimal getJyenottax() {
        return jyenottax;
    }

    public void setJylnottax(BigDecimal jylnottax) {
        this.jylnottax = jylnottax;
    }

    public BigDecimal getJylnottax() {
        return jylnottax;
    }

    public void setBidnodeid(Integer bidnodeid) {
        this.bidnodeid = bidnodeid;
    }

    public Integer getBidnodeid() {
        return bidnodeid;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getProId() {
        return proId;
    }

    public void setStagetype(String stagetype) {
        this.stagetype = stagetype;
    }

    public String getStagetype() {
        return stagetype;
    }

    private String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getSrpmzj() {
        return srpmzj;
    }

    public void setSrpmzj(BigDecimal srpmzj) {
        this.srpmzj = srpmzj;
    }

    public BigDecimal getTargetcbpmzj() {
        return targetcbpmzj;
    }

    public void setTargetcbpmzj(BigDecimal targetcbpmzj) {
        this.targetcbpmzj = targetcbpmzj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("pid", getPid())
                .append("oid", getOid())
                .append("code", getCode())
                .append("name", getName())
                .append("ordcode", getOrdcode())
                .append("xh", getXh())
                .append("unit", getUnit())
                .append("ystotal", getYstotal())
                .append("srzb", getSrzb())
                .append("targettotal", getTargettotal())
                .append("targetnottotal", getTargetnottotal())
                .append("cbzbnottax", getCbzbnottax())
                .append("jyenottax", getJyenottax())
                .append("jylnottax", getJylnottax())
                .append("remark", getRemark())
                .append("bidnodeid", getBidnodeid())
                .append("proId", getProId())
                .append("stagetype", getStagetype())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("srpmzj", getSrpmzj())
                .append("targetcbpmzj", getTargetcbpmzj())
                .toString();
    }
}
